package com.example.b_308.medical.model.base;

import java.io.Serializable;

/**
 * Created by B-308 on 2017/11/14.
 */

public class BaseVisiting_person extends BaseModel implements Serializable {
    /**
     * 姓名
     */
    String visiting_person_name;
    /**
     * 性别
     */
    String sex;
    /**
     * 出生日期
     */
    String date_of_birth;
    /**
     * 手机号码
     */
    String visiting_person_phone_num;

    public BaseVisiting_person() {
    }

    public String getVisiting_person_name() {
        if (null == visiting_person_name) {
            visiting_person_name = getStr("visiting_person_name");
        }
        return visiting_person_name;
    }

    public String getSex() {
        if (null == sex) {
            sex = getStr("sex");
        }
        return sex;
    }

    public String getDate_of_birth() {
        if (null == date_of_birth) {
            date_of_birth = getStr("date_of_birth");
        }
        return date_of_birth;
    }

    public String getVisiting_person_phone_num() {
        if (null == visiting_person_phone_num) {
            visiting_person_phone_num = getStr("visiting_person_phone_num");
        }
        return visiting_person_phone_num;
    }

    public void setVisiting_person_name(String visiting_person_name) {

        put("visiting_person_name", visiting_person_name);
        this.visiting_person_name = visiting_person_name;
    }

    public void setSex(String sex) {

        put("sex", sex);
        this.sex = sex;
    }

    public void setDate_of_birth(String date_of_birth) {

        put("date_of_birth", date_of_birth);
        this.date_of_birth = date_of_birth;
    }

    public void setVisiting_person_phone_num(String visiting_person_phone_num) {

        put("visiting_person_phone_num", visiting_person_phone_num);
        this.visiting_person_phone_num = visiting_person_phone_num;
    }
}
